package com.campusevaluation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campusevaluation.common.exception.Result;
import com.campusevaluation.domain.dto.LoginDTO;
import com.campusevaluation.domain.dto.UserDTO;
import com.campusevaluation.domain.po.User;
import com.campusevaluation.domain.vo.UserVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface IUserService extends IService<User> {
    Result<Map<String, Object>> login(LoginDTO loginDTO);

    Result<String> register(UserDTO registerDTO);

    Result<String> sendVerificationCode(UserDTO registerDTO);

    Result<String> resetPassword(UserDTO registerDTO);

    Result<UserVO> getUserData();

    Result<String> uploadFile(MultipartFile file);
}
